/**
 * 
 */
package org.sevaapp.security.dao;

import java.util.Collection;

import org.sevaapp.dao.DaoException;
import org.sevaapp.domain.Referral;
import org.sevaapp.security.domain.User;

/**
 * @author Srini
 *
 */
public interface UserDao {

	User load(String id) throws DaoException;

	Collection<User> findAll() throws DaoException;

	void add(User domainObject) throws DaoException;

	void update(User domainObject) throws DaoException;

	void delete(String id) throws DaoException;
}
